package com.feng.project.project01.sv;

import com.feng.common.aspect.RequestMappingAspect;
import com.feng.project.project01.config.JPAContextConfig;
import com.feng.project.project01.config.RedisConfig;
import com.feng.project.project01.config.SwaggerConfig;
import com.feng.project.project01.config.CommonConfig;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * @author Administrator
 */
@EntityScan(basePackages = "com.feng.project.project01.model")
@EnableEurekaClient
@Configuration
@Import({CommonConfig.class, RedisConfig.class, SwaggerConfig.class, JPAContextConfig.class})
public class Project01SvConfig {

    @Bean
    public RequestMappingAspect requestMappingAspect(){
        return new RequestMappingAspect();
    }

}
